# Maintainer: arkli <LFZ0107@outlook.com>
pkgname=pcs
pkgvers=1
pkgver=1
pkgrel=2
epoch=
pkgdesc="Baidu WangPan Command Line"
arch=('i686' 'x86_64')
url="http://www.deepin.org"
license=('Proprietary')
groups=()
depends=()
makedepends=('git')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
validpgpkeys=()

prepare() {
	git clone https://github.com/arklee/BaiduPCS.git
}

package() {
	cd BaiduPCS
	cp Makefile.old makefile
	make
	mkdir -p ${pkgdir}/usr/local/bin
	cp ./bin/pcs ${pkgdir}/usr/local/bin/pcs
}
